﻿/*Change Navbar Breakpoint*/
@media(max-width:991px) {
  .navbar .navbar-brand {float:none;display: inline-block;}
  .navbar .navbar-nav>.nav-item { float: none; margin-left: .1rem;}
  .navbar .navbar-nav {float:none !important;}
  .nav-item{width:100%;text-align:left;} 
  .navbar-toggler {display: block !important; height:fit-content;}
  .navbar-toggleable-sm.collapse {display:none !important}
  .navbar-toggleable-sm.collapse.in {display:block !important}
}


/*Stretches menu to specific width on desktop mode*/
@media (min-width: 992px){
    .navbar-nav {
        margin: 0 auto;
        display: table;
        table-layout: auto;
        float: none;
        width: 100%;
        

    }
    .navbar-nav>li {
        display: table-cell;
        float: none;
        text-align: center;
		
        
    }
    .navbar-collapse{
        padding-left: 0;
        padding-right: 0;
    }
}

/*fixes white bar in mobile*/
@media (max-width: 991px){
.navbar{
    top: -30px;
    overflow: auto;
    /* max-height: 85vh; */
    align-items: center;
    }
}


/*COLORS and Format*/

.darsbg {
    background-color: #2056BA;
    color: #fff;
}

@media (max-width: 991px){
.darsbg {
    background-color: #2A77A7!important;
    color: #fff;
}
.dropdown-menu {
    box-shadow: none;
    background-color: #fff!important;
    color: #0074D9;
}
.container-fluid {
    margin-top: -28px;
    margin-bottom: 28px;
}
.breadcrumb {
    margin: -30px 0px 45px 0px;
}
}

@media (min-width: 991px) and (max-width: 991.8px){
    .darsbg {
        background-color: #2A77A7!important;
        color: #fff;
    }
}

.nav-link{
    padding: 0.1em 0.2em;
    font-weight: 600;
}

.bg-dark{
    background-color:#2056BA;
    color:white;
}
.dropdown-menu {
 
  width: 100%;
  /*height: auto;*/
  /*text-align: center;*/
  border-radius: 0;
  border: 1px solid #eee;
  margin-top: -1px;
  padding: 0 0;
  /*max-height: 700px;*/
  /*overflow: auto;*/
  box-shadow: 5px 5px 5px grey;
}

.dropdown-submenu .dropdown-menu{
	/*position: static;
    float: none;*/
    background-color: #eee;
    border: 2px solid #213E7F/*#428bca*/;
    box-shadow: none;
}


.navbar-expand-lg .navbar-nav .dropdown-submenu .dropdown-menu{
position: static;
    float: none;
}


.darsbg .navbar-nav .nav-link{
    color: #fff;
    border: 2px solid transparent;
}

.darsbg .navbar-nav .nav-link:focus, .darsbg .navbar-nav .nav-link:hover{
    background-color: #fff;
    color: #0074D9;
}

/*Color definitions for main menu when dropdown is open*/
.darsbg .navbar-nav .active > .nav-link, .darsbg .navbar-nav .nav-link.active, .darsbg .navbar-nav .nav-link.show, .darsbg .navbar-nav .show > .nav-link {
background-color: #213E7F;
border: 2px solid #fff;
color: #fff;

}

/*Hover color dropdown menu links*/
.dropdown-item:focus, .dropdown-item:hover{ 
    background-color:  #89BFE1;
    color: #000;
}


.dropdown-item{
white-space: normal;
}

ul.icons > li::before {
    background: #0b536b none repeat scroll 0 0;
    border-radius: 0.5em;
    box-shadow: 0.125em 0.175em 0 0 rgba(0, 0, 0, 0.125);
    color: #fff;
    display: block;
    height: .5em;
    left: 0;
    line-height: 2em;
    position: absolute;
    text-align: center;
    top: .5em;
    width: .5em;
}

.fa-circle, .fa-circle a{
color: #005C9C;
}



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #213E7F/*#428bca*/;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  opacity: 0.8;
  border: 3px solid #213E7F/*#428bca*/;
}

#myBtn:hover {
  background-color: #fff;
  opacity: 0.8;
  color: #0074D9;
  border: 3px solid #0074D9;
}

.hiddenlink {
 position:absolute;
 left:-10000px;
 top:auto;
 width:1px;
 height:1px;
 overflow:hidden;}


/* .hidesmall {
    display: inline-block;
    width: auto;
} */

.nav-header-large {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
}


@media (max-width: 900px){
    .hidesmall{
    display: none !important;
}
}

.hidelarge{
    display: inline-block;
}

@media (min-width: 901px){
    .hidelarge{
    display: none !important;
}
}


.sectionheader {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    color: #000;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.divisiontitle a{
	color: red;
}

.divisiontitle a:hover{
	color: #fff;
}

/* FIX TO KEEP MAIN HEADER, SOCIAL AND SEARCH LT. BLUE BAND FROM DROPPING DOWN (Screen sizes 900px. - 991px.) Other parts of this fix are throughout this page. */
.container-fluid {
    justify-content: space-between;
    align-items: center;
}
.float-right {
    margin-bottom: 30px;

}

/* REMOVES WHITE BACKGROUND BEHIND SEARCH FIELD */
.gsc-control-cse-en {
    background-color: transparent !important;
    border: 0px !important;
}
@media (max-width: 991px) {
    .gsc-control-cse-en {
    position: relative;
    padding-left: 0px !important;
    }
}

/* NAVIGATION HEADER REFINEMENT FOR TABLET AND MOBILE - START */
.nav-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
/* Approximately centers small nav. agency logo - Start */
/* .nav-header-small a {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
} */
/* Approximately centers small nav. agency logo - End */

.navbar-toggler {
    margin-left: 10px;
}
.navbar-collapse {
    margin-top: 10px
}

@media (min-width: 900px) and (max-width: 900.8px) {
    .navbar {
        margin-top: -4px;
    }   
}

@media (min-width: 901px) and (max-width: 991.8px) {
    .nav-header-small {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }   
}

@media (min-width: 991.8px) {
    .nav-header-small {
        display: none;
    }
    .navbar-collapse {
        margin-top: 0px
    }
}
/* NAVIGATION HEADER REFINEMENT FOR TABLET AND MOBILE - END */
